import request from "../../utils/request"

export function initPlan() {
  return request({
    url: '/plan/get',
    method: 'get'
  })
}

export function addPlan(plan) {
  return request({
    url: '/plan/add',
    method: 'post',
    data: plan
  })
}

export function updatePlan(plan) {
  return request({
    url: '/plan/update',
    method: 'post',
    data: plan
  })
}
